package record

import "webGoDemo/model"

type DaoRecorder interface {
	Reader
	Writer
}

type Reader interface {
	List(pageRequest *model.PageRequest) ([]model.Record, error)
}

type Writer interface {
	Insert(record *model.Record) error
}
